package com.guomao.boot.service;

import com.guomao.boot.entity.User;
import com.guomao.boot.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

public interface UserService {

    public List<User> getAllUsers();

    public User getUserById(Long id);

    public int addUser(User user);

    public int updateUser(User user);

    public int deleteUser(Long id);
}